<template>
  <card-container @refresh="refresh" :title="title">
    <el-table class="stat-table" @sort-change="handleSortChange" height="100%" :data="statisticsData">
      <el-table-column sortable="custom" label="监管部门名称" align="left" prop="orgName">
        <template slot-scope="scope">
          <span>{{ scope.row.orgName }}</span>
        </template>
      </el-table-column>
      <el-table-column sortable="custom" label="抽查企业数量" align="center" prop="count">
        <template slot-scope="scope">
          <span class="blue-font">{{ scope.row.count }}</span>
        </template>
      </el-table-column>
    </el-table>
  </card-container>
</template>

<script>
import {statisticsPageMixins} from "@/views/checkStatisticsPage/mixins/statisticsPageMixins";
import {statisticChouCha} from "@/api/checkPage/statistics";

export default {
  mixins: [statisticsPageMixins],
  data() {
    return {
      title: '监管人员抽查情况',
      queryFun: statisticChouCha,
      statisticsData: []
    }
  },
  methods: {
    changeRowData(baseData) {
      return baseData
    }
  }
}
</script>

<style scoped>

</style>

